package com.whut.service;

import com.whut.model.ProblemDescription;
import com.whut.model.ParPrefixSystem;

import java.util.List;

public interface NewPrefixSystemService {
    public String importSystem(String pathName);

    public List<ParPrefixSystem> getFirstLevel();

    public List<ParPrefixSystem> getNextLevel(int preNum);

    public List<ParPrefixSystem> getNextLevelExceptDeprecated(int preNum);

    public List<ProblemDescription> getLastLevel(int preNum);

    public List<ProblemDescription> getLastLevelExceptDeprecated(int preNum);

    public int getFatherInPrefixSystem(int number);

    public int getFatherInProblemDescription(int number);

    public List<ParPrefixSystem> getSameFather(int preNum);

    public String addPrefixSystem(ParPrefixSystem ParPrefixSystem);

    public String addProblemdescription(ProblemDescription Newproblemdescription);

    public String delMidOne(int number);

    public String delLastOne(int number);

    public String updateMid(ParPrefixSystem ParPrefixSystem);

    public String updateLast(ProblemDescription Newproblemdescription);

    public String exportExcel();

    public String addAdvice(int number, String advice);

    public String discMidOne(int number);

    public String discLastOne(int number);

    /**
     * 为语音关键词录入界面做体系数据准备
     *
     * @return java.lang.Object
     * @author fanyu
     * @date 2019/11/19 10:57
     * @params []
     */
    public Object getAllSystemInfo();

    public Object getSomeSystemInfoByNodeDepth(Integer nodeDepth);

    /**
     * 关键词映射界面信息搜索
     *
     * @return java.lang.Object
     * @author fanyu
     * @date 2019/11/19 16:34
     * @params [system]
     */
    public Object getProblemDescriptionById(String system);


}
